package com.itheima.d8_extends_application;

/**
 * 咨询
 */
public class consultant extends People{

    private String skill;

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }

    public void printInfo() {
        System.out.println(getName() + "具备的技能：" + getSkill());
    }
}
